func flatten<%= prefix -%><%= titlelize_property(property) -%>(v interface{}, d *schema.ResourceData, config *Config) interface{} {
     b, err := strconv.ParseBool(v.(string))
     if err != nil {
         // If we can't convert it into a bool return value as is and let caller handle it
         return v
     }
     return b
 }
